package com.eclink.asset.asset.domain.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.eclink.asset.domain.dao.CommonEntity;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 耗材档案
 * 
 * @author chenshixian
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description="资产档案")
@Data
public class AssetDepreciation extends CommonEntity {

    private static final long serialVersionUID = -779673712012450385L;

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("折旧方式")
    private Integer way;

    @ApiModelProperty("预计残值率")
    private BigDecimal residual;

    @ApiModelProperty("首次折旧时间")
    private Integer startType;

    private String remark;

}
